package com.example.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 单据跟踪1对象 warranty_claim_details
 * 
 * @author whj
 * @date 2024-09-15
 */
public class WarrantyClaimDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报修申请编号 */
    private Long id;

    /** 报修部门 */
    @Excel(name = "报修部门")
    private String departmentName;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private String doorplate;

    /** 报修人 */
    @Excel(name = "报修人")
    private String people;

    /** 保修内容 */
    @Excel(name = "保修内容")
    private String content;

    /** 保修日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保修日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warrantyDate;

    /** 其他问题 */
    @Excel(name = "其他问题")
    private String anotherProblem;

    /** 详细描述 */
    @Excel(name = "详细描述")
    private String description;

    /** 单据状态 */
    @Excel(name = "单据状态")
    private Long states;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintainDate;

    /** 维修人 */
    @Excel(name = "维修人")
    private String maintainPerson;

    /** 维修结果 */
    @Excel(name = "维修结果")
    private Long maintainResult;

    /** 维修状态 */
    @Excel(name = "维修状态")
    private Long maintainSituation;

    /** 维修情况说明 */
    @Excel(name = "维修情况说明")
    private String maintainDescription;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setDoorplate(String doorplate) 
    {
        this.doorplate = doorplate;
    }

    public String getDoorplate() 
    {
        return doorplate;
    }
    public void setPeople(String people) 
    {
        this.people = people;
    }

    public String getPeople() 
    {
        return people;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setWarrantyDate(Date warrantyDate) 
    {
        this.warrantyDate = warrantyDate;
    }

    public Date getWarrantyDate() 
    {
        return warrantyDate;
    }
    public void setAnotherProblem(String anotherProblem) 
    {
        this.anotherProblem = anotherProblem;
    }

    public String getAnotherProblem() 
    {
        return anotherProblem;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStates(Long states) 
    {
        this.states = states;
    }

    public Long getStates() 
    {
        return states;
    }
    public void setMaintainDate(Date maintainDate) 
    {
        this.maintainDate = maintainDate;
    }

    public Date getMaintainDate() 
    {
        return maintainDate;
    }
    public void setMaintainPerson(String maintainPerson) 
    {
        this.maintainPerson = maintainPerson;
    }

    public String getMaintainPerson() 
    {
        return maintainPerson;
    }
    public void setMaintainResult(Long maintainResult) 
    {
        this.maintainResult = maintainResult;
    }

    public Long getMaintainResult() 
    {
        return maintainResult;
    }
    public void setMaintainSituation(Long maintainSituation) 
    {
        this.maintainSituation = maintainSituation;
    }

    public Long getMaintainSituation() 
    {
        return maintainSituation;
    }
    public void setMaintainDescription(String maintainDescription) 
    {
        this.maintainDescription = maintainDescription;
    }

    public String getMaintainDescription() 
    {
        return maintainDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("departmentName", getDepartmentName())
            .append("doorplate", getDoorplate())
            .append("people", getPeople())
            .append("content", getContent())
            .append("warrantyDate", getWarrantyDate())
            .append("anotherProblem", getAnotherProblem())
            .append("description", getDescription())
            .append("states", getStates())
            .append("maintainDate", getMaintainDate())
            .append("maintainPerson", getMaintainPerson())
            .append("maintainResult", getMaintainResult())
            .append("maintainSituation", getMaintainSituation())
            .append("maintainDescription", getMaintainDescription())
            .toString();
    }
}
